<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- 1.修饰符：lazy -->
			<input type="text" name="" id="" value="" v-model.lazy="message"/>
			<h2>{{message}}</h2>
			<!-- 2.修饰符：number -->
			<input type="number" name="" id="" value="" v-model.number="age"/>
			<h2>{{age}}-{{typeof age}}</h2>
			
			<!-- 3.修饰符 trim-->
			<input type="text" name="" id="" value="" v-model.trim="name"/>
			<h2>您的名字是:{{name}}</h2>
			
		</div>
		<script src="../js/vue.js"></script>
		<script>
			const app=new Vue({
				el:'#app',
				data:{
					message:'你好',
					age:0,
					name:''
				}
			})
		</script>
	</body>
</html>
